﻿class Assessment {
    constructor() {}

    // Right
    public title: string;
    public introduction: string;

    // Image Banners[]
    // Video
    public video_title: string;
    public video_description: string;
    public css_area: string;
    public closing_words: string;

    // Left 
    public coach: string;
    public display_on_client: boolean;
    public status: number;
    public anonymous_assessment: boolean;

    static origin = { x: 0, y: 0 };

    public tabulation_list: Tabulation[];

    add_tabulation() {
        let t = new Tabulation();

        t.table_label = "test label text";
        t.table_title = "test label title";
        t.table_description = "test table description";
        t.table_image = "someimage url";

        this.tabulation_list.push(t);
    }
};

class Tabulation {
    constructor() { }

    public table_label: string;
    public table_title: string;
    public table_description: string;

    // images
    public table_image: string;
};